package com.atguigu.gmall.gateway.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @Author:lyd
 * @Date:2023/8/30 16:43
 * @Version:1.0
 * @Description
 **/
@Component
@Data
@ConfigurationProperties("app.auth")
public class AuthProperties {
    private String loginUrl;
    //直接放行的路径
    private List<String> pathUrl;
    //需要验证授权的路径
    private List<String> authUrl;
    //直接拒绝的路径
    private List<String> denyUrl;
    //黑名单
    private List<String> ipBlack;
}
